package com.sams.service;

import java.util.List;

import com.github.pagehelper.PageInfo;
import com.sams.entity.Student;
import com.sams.entity.User;

public interface StudentService {
	public int add(Student stu)throws Exception;
	public int delete(int id);
	public PageInfo <Student> listStu(int currentPage,String name,String idcard,Integer schi,User user,Integer zid);
	
	public  Student findById(int id);
	public boolean importStudent(String path);
	public int update(Student stu)throws Exception;
	public boolean insertBatch(List<Student> stuList) throws Exception;
	public void deleteBatch(String ids);
}
